﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cmd;

namespace cmd.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            IOOperationOptions opt = CommandLineParser<IOOperationOptions>.GetOptions();
            switch (opt.GetGroup())
            {
                case "fileOps":
                    string fileName = opt.FileName;

                    //code omitted for brevity
                    break;
                case "folderOps":
                    string folderName = opt.DirectoryName;

                    //code omitted for brevity
                    break;
                default:
                    break;
            }
        }
    }
}
